Java Script : Top Interview Questions and Answers for JavaScript Developers: Face the JavaScript interview with confidence (Java Programming, Java for Dummies, Getting started with Java, ) by Mike Ryan

Java Script : Top Interview Questions and Answers for JavaScript Developers: Face the JavaScript interview with confidence (Java Programming, Java for Dummies, Getting started with Java, ) by Mike Ryan

Author:Mike Ryan [Ryan, Mike]
Language: eng
Format: azw3
Published: 2018-01-19T16:00:00+00:00


54. What is JavaScript JSON? What are the JSON syntax rules?

JavaScript JSON, acronym for JavaScript object notation, is a format for data storing and data transfer. This format is used when data is being sent from a web server to a web page.

Features of JSON:

• Refers to ‘JavaScript object notation’.

• It is light weighted data exchange and transfer format.

• JSON is language independent i.e. code for reading and generating JSON format data can be written in any programming language.

• JSON format is text based.

Rules for defining JSON data format:

• Contains name/values pairs.

• Data is in comma separated values.

• Objects are hold around curly braces.

• Arrays are hold in square brackets.

Example,

{

"languages":[

{"name”: “JavaScript", "type”: “Client-side scripting language"},

{"name": "PHP", "type”: “Server-side scripting language"},

]

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.